cmake_minimum_required(VERSION 3.0)
add_compile_options(-O0) 
project(MyRpc)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/include/redis/)
include_directories(${PROJECT_SOURCE_DIR}/include/mainServer/)
include_directories(${PROJECT_SOURCE_DIR}/include/mysqlDB/)
include_directories(${PROJECT_SOURCE_DIR}/include/reactor/)
include_directories(${PROJECT_SOURCE_DIR}/include/redis/)
include_directories(${PROJECT_SOURCE_DIR}/include/Rpc/)
include_directories(${PROJECT_SOURCE_DIR}/include/thread/)
include_directories(${PROJECT_SOURCE_DIR}/include/threadPool/)
include_directories(${PROJECT_SOURCE_DIR}/include/Logger/)
include_directories(${PROJECT_SOURCE_DIR}/include/utils/)
include_directories(${PROJECT_SOURCE_DIR}/include/zookeeper/)
include_directories(${PROJECT_SOURCE_DIR}/example)
link_directories(${PROJECT_SOURCE_DIR}/lib)
add_subdirectory(src)
add_subdirectory(example)